#import <Foundation/Foundation.h>
#import "USLocationInfo.h"

@interface USRealtimeLocationManager : NSObject

+ (instancetype)shared;

/// 启动位置上传（每隔 interval 秒发送一次）
- (void)startDispatchingWithInterval:(NSTimeInterval)interval;

/// 停止位置上传
- (void)stopDispatching;

//保存关联用户的位置信息
- (void)saveRelUserLocationInfo:(NSDictionary *)info;

//获取关联用户位置消息
- (USLocationInfo *)relUserLocationInfo;

@end
